public class Test9 {
        public static void main(String[] args) {
            // 1. 定义整型数组a，并赋值为1-100
            int[] a = new int[100];
            for (int i = 0; i < 100; i++) {
                a[i] = i + 1;
            }

            // 2. 逆序打印数组
            System.out.println("逆序打印数组元素：");
            for (int i = 99; i >= 0; i--) {
                System.out.print(a[i] + " ");
            }
        }
    }

